<?php
if (isset ($consumeList) && count($consumeList) > 0) {
    foreach ($consumeList as $consume) {
        ?>
        <div class="app-border-bottom app-user-buy-count" <?php
        if ($consume->Type == CPay::ConsumeType_FieldEdit)
            echo "onclick=\"goto_user_buy_record_content($consume->Id )\"";
        ?>>
            <div>
                <div class="app-blue2-color"
                     style="display: inline-block; min-width: 90px">
                    <?= $consume->UserName ?>
                </div>
                <div style="display: inline-block">
                    <span class="app-gray-color"><?= $consume->Tittle ?></span>
                    <span class="app-blue2-color"><?= $consume->Desc ?></span>
                </div>
            </div>
            <div style="padding-top: 8px">
                <span class="app-gray-color"><?= $consume->ConsumeDt ?></span>
                <span class="am-fr app-blue2-color"><?= $consume->Price ?>元</span>
            </div>
        </div>
    <?php }
    if (isset ($paginateMsg) && $paginateMsg != '')
        echo $paginateMsg;
} else {
    $warningText = '当前尚无购买记录';
    require("{$CfgPara->root}/view/warning_text.app.v.php");
}
?>